import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  code: 'employees',
  children: [{
    path: '',
    component: () => import('@/views/employees/index.vue'),
    meta: {
      title: '员工管理',
      icon: 'people'
    }
  },
  {
    path: 'detail/:id', // 表示访问详情页面的时候必须传递id才能访问，这种路由也称为动态路由
    component: () => import('@/views/employees/detail.vue'),
    hidden: true
  }
  ]
}
